//
//  HNSH_BusinessCircleRecordManage.m
//  HNSH_SingleProject
//
//  Created by 李宇廷 on 2023/9/26.
//

#import "HNSH_BusinessCircleRecordManage.h"
#import "ST_PageView.h"

@interface HNSH_BusinessCircleRecordManage ()

@end

@implementation HNSH_BusinessCircleRecordManage

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self showNavTitle:@"消费记录" showLeftItem:YES];
    [self configPage];
}

- (void)configPage {
    NSMutableArray *vcs = [NSMutableArray arrayWithCapacity:5];
    NSMutableArray *titles = [NSMutableArray arrayWithArray:@[@"全部",@"审核中",@"已通过",@"已拒绝"]];
    NSMutableArray *ids = [NSMutableArray arrayWithArray:@[@"0",@"1",@"2",@"3",@"4"]];
    for (int i = 0; i < 5; i ++) {
        [vcs addObject:@"HNSH_BusinessCircleRecordViewController"];
    }
    
    ST_PageView *pageView = [[ST_PageView alloc]initWithFrame:CGRectMake(0, kNavBarAndStatusBarHeight, kScreenWidth, kScreenHeight-kNavBarAndStatusBarHeight) withTitles:titles withViewControllers:vcs withParameters:ids];
    pageView.isAnimated = NO;
    pageView.selectedColor = [UIColor appBlackLabelColor];
    pageView.unselectedColor = [UIColor appGrayLabelColor];
    pageView.selectedLineColor = [UIColor appGreenColor];
    pageView.leftSpace = pageView.rightSpace = 20;
    pageView.isShowTopTabBottomLine = NO;
    pageView.isAverage = YES;
    pageView.font = [UIFont systemFontOfSize:16];
    pageView.scrollView.backgroundColor = [UIColor appWhiteLabelColor];
    [self.view addSubview:pageView];
}

@end
